package aop;

/**
 * @author zhaoqiankun
 * @date 2021/12/3
 *         OOP思想动物 继承类
 *         猪类
 */
public class Pig extends Animal {


    public static void main(String[] args) {
        Pig pig = new Pig();
        pig.eat();
        pig.run();
    }
}
